package com.podium.web.system.controller.dto;

import com.podium.comment.validation.annotation.Password;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 邵文泽
 * @description 修改密码
 * @date 2025/5/13 17:55
 */
@Getter
@Setter
public class PasswordDto {

    /**
     * 旧密码
     */
    @NotBlank(message = "请输入旧密码！")
    private String oldPassword;

    /**
     * 新密码
     */
    @NotBlank(message = "请输入新密码！")
    @Password(message = "新密码格式不正确！")
    private String newPassword;

    /**
     * 确认密码
     */
    @NotBlank(message = "请输入确认密码！")
    private String confirmPassword;

}
